﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyWeb.ServiceBus.Model.Models
{
    /// <summary>
    /// 服务
    /// </summary>
    [Table("ESB.SysService")]
    [Description("服务表")]
    [SysTable]
    public class SysService : Root<long>
    {
        /// <summary>
        /// 应用主键
        /// </summary>
        [Description("应用主键")]
        public long AppId { get; set; }
        /// <summary>
        /// 服务编码
        /// </summary>
        public string Code { get; set; } = string.Empty;
        /// <summary>
        /// 服务描述
        /// </summary>
        public string Name { get; set; } = string.Empty;
        /// <summary>
        /// 类型
        /// </summary>
        public int Type { get; set; }
    }
}
